package com.zp.entity;

import com.zp.factory.GeometryFactory;

/**
 * @author zhpeng
 * @discription
 * @created 2021/9/3 12:53
 */
public class Test01 {
    public static void main(String[] args) {
        GeometryFactory geometryFactory = new GeometryFactory();
        Geometry circle = geometryFactory.getGeometry("circle");
        circle.getGeometry();
        Geometry square = geometryFactory.getGeometry("square");
        square.getGeometry();
        Geometry triangle = geometryFactory.getGeometry("triangle");
        triangle.getGeometry();
    }
}
